package com.aop.annotation;

import com.cfg.AopAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;
/**
 * author: liubw
 * 开启调用链追踪注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({AopAutoConfiguration.class})
public @interface LogMethodExecution  {

    // 控制是否将日志输出到本地文件，默认 false (不输出到文件)
    boolean logToFile() default false;
}
